﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Media;
using IntoApp.Properties;

namespace IntoApp.Common.Helper
{
    public class GeometryHelper
    {

        #region 文件类型图片
        private Geometry _icon_IMG= Geometry.Parse("M626.7 119H173c-15.4 0-28-12.6-28-28s12.6-28 28-28h453.7c15.4 0 28 12.6 28 28s-12.6 28-28 28z m224.6 839.6H173.5c-15.4 0-28-12.6-28-28s12.6-28 28-28h677.8c15.4 0 28 12.6 28 28s-12.6 28-28 28zM173 958.6c-15.4 0-28-12.6-28-28V94.9c0-15.4 12.6-28 28-28s28 12.6 28 28v835.6c0 15.5-12.6 28.1-28 28.1z m681.3 0c-15.4 0-28-12.6-28-28v-591c0-15.4 12.6-28 28-28s28 12.6 28 28v591c0 15.4-12.6 28-28 28zM847 348.7H629c-15.4 0-28-12.6-28-28V92.2c0-15.4 29.1-19.7 44.5-19.7L875 320.7c0 15.4-12.6 28-28 28z m-590.9 75.1c0 22.4 12 43.1 31.4 54.3 19.4 11.2 43.3 11.2 62.7 0 19.4-11.2 31.4-31.9 31.4-54.3 0-34.6-28.1-62.7-62.7-62.7-34.7-0.1-62.8 28-62.8 62.7z m357.6 27.3L456.3 619.4 373.4 531 248.8 706.3h523.8L613.7 451.1z m0 0");
        public Geometry Icon_IMG
        {
            get { return _icon_IMG;}
            set { _icon_IMG = value;}
        }
        private Geometry _icon_PPT= Geometry.Parse("M352.124902 862.526151v-18.385636c0-7.993755 6.395004-13.589383 13.589384-13.589383 16.786885 0 26.379391-9.592506 30.376268-28.777518 2.398126-13.589383 3.197502-68.746292 3.197502-165.470726l-2.398126-112.711943-0.799376-8.793131c-3.197502-19.185012-13.589383-28.777518-30.376268-28.777517-7.993755 0-13.589383-6.395004-13.589384-13.589384v-19.185011c0-7.993755 6.395004-13.589383 13.589384-13.589384h187.853239c44.765027 0 76.740047 10.391881 97.52381 30.376269 20.783763 20.783763 30.376269 53.558158 30.376268 99.12256 0 41.567525-8.79313 73.542545-26.379391 96.724434-15.98751 20.783763-45.564403 31.97502-88.730679 31.97502H480.02498c-7.993755 0-13.589383 6.395004-13.589383 13.589383v83.135051c0 23.981265 10.391881 36.771272 31.97502 36.771272h3.996877c7.993755 0 13.589383 6.395004 13.589383 13.589384v18.385636c0 7.993755-6.395004 13.589383-13.589383 13.589383H365.714286c-7.194379 0-13.589383-6.395004-13.589384-14.388759z m114.310695-361.31772v135.094457c0 7.993755 6.395004 13.589383 13.589383 13.589384h57.555036c23.181889 0 39.968774-3.197502 50.360655-10.391882 9.592506-6.395004 16.786885-19.185012 19.984388-37.570648 2.398126-13.589383 3.996877-26.379391 3.996877-39.169399 0-27.978142-5.595628-47.962529-15.98751-59.153786-10.391881-10.391881-27.978142-15.98751-53.558157-15.987509H480.02498c-7.993755 0-13.589383 6.395004-13.589383 13.589383zM935.669009 238.213895L715.840749 17.586261C703.850117 6.395004 688.661983 0 671.875098 0H138.691647c-33.57377 0-61.551913 27.178767-61.551912 61.551913v900.896174c0 33.57377 27.178767 61.551913 61.551912 61.551913h753.811085c33.57377 0 61.551913-27.178767 61.551913-61.551913V281.380172c0-15.98751-6.395004-31.175644-18.385636-43.166277zM661.483216 101.520687c0-12.790008 15.188134-19.185012 24.78064-10.391881L863.725215 267.790788c8.79313 8.79313 2.398126 24.78064-10.391882 24.780641H675.871975c-7.993755 0-14.388759-6.395004-14.388759-14.388759V101.520687z m219.028884 835.347385c0 7.194379-5.595628 12.790008-12.790008 12.790008H163.472287c-7.194379 0-12.790008-5.595628-12.790008-12.790008V86.332553c0-7.194379 5.595628-12.790008 12.790008-12.790008H575.950039c7.194379 0 12.790008 5.595628 12.790008 12.790008V311.75644c0 29.576893 23.981265 54.357533 54.357533 54.357533h225.423888c7.194379 0 12.790008 5.595628 12.790007 12.790008v557.964091z");
        public Geometry Icon_PPT
        {
            get { return _icon_PPT; }
            set { _icon_PPT = value; }
        }
        private Geometry _icon_DOC=Geometry.Parse("M797.642105 300.032H619.789474V132.958316l177.852631 167.073684z m37.726316 603.621053H177.852632V89.842526h366.48421v285.642106H835.368421v528.168421zM204.8-1.778526h-10.778947c-5.389474 0-10.778947 0-21.557895 5.389473C118.568421 19.779368 80.842105 68.284632 80.842105 138.347789c0 220.968421 5.389474 732.968421 5.389474 770.694737C91.621053 968.326737 123.957895 995.274105 188.631579 995.274105h625.178947c16.168421 0 26.947368 0 48.505263-5.389473 37.726316-10.778947 59.284211-37.726316 64.673685-75.452632v-10.778947V316.200421c0-16.168421-5.389474-32.336842-21.557895-43.115789-10.778947-10.778947-26.947368-26.947368-43.11579-37.726316-64.673684-64.673684-140.126316-140.126316-220.968421-210.189474-10.778947-10.778947-21.557895-16.168421-37.726315-16.168421H204.8zM296.421053 452.715789h150.905263V377.263158H296.421053zM296.421053 614.4h414.989473V538.947368H296.421053zM296.421053 776.084211h414.989473V700.631579H296.421053z");
        public Geometry Icon_DOC
        {
            get { return _icon_DOC;}
            set { _icon_DOC = value; }

        }
        private Geometry _icon_XLS=Geometry.Parse("M896 288l-192-204.8c-12.8-12.8-32-19.2-44.8-19.2H140.8c-19.2 0-25.6 12.8-25.6 25.6v844.8c0 12.8 12.8 25.6 25.6 25.6h748.8c12.8 0 25.6-12.8 25.6-25.6V332.8c-6.4-19.2-12.8-32-19.2-44.8z m-38.4 614.4c0 6.4 0 6.4 0 0 0 6.4 0 6.4 0 0l-684.8 6.4h-6.4V115.2v-6.4h467.2s6.4 0 6.4 6.4v211.2c0 12.8 12.8 25.6 25.6 25.6h204.8v6.4l-12.8 544z m-172.8-102.4h-128l-64-96-96 96H275.2L448 620.8 339.2 441.6h121.6l64 108.8 102.4-108.8h115.2L576 627.2l108.8 172.8z m0 0");
        public Geometry Icon_XLS
        {
            get { return _icon_XLS; }
            set { _icon_XLS = value; }
        }
        private Geometry _icon_TXT=Geometry.Parse("M364.179 429.932h-86.847V681.08H212.32V429.932h-86.517v-52.981H364.18v52.981zM649.274 681.08h-76.96l-54.546-100.937c-1.978-3.626-3.955-10.3-6.098-19.858h-0.824c-1.07 4.697-3.378 11.536-7.086 20.434l-54.794 100.36H371.43l97.559-152.188-89.155-151.94h78.937l45.319 93.109c3.625 7.58 6.839 15.985 9.393 25.13h0.824c2.72-8.239 6.098-16.973 10.053-26.12l50.097-92.12h72.428L555.01 527.739l94.263 153.342z m255.432-251.148h-86.764V681.08H752.93V429.932h-86.6v-52.981h238.376v52.981zM837.552 891.935H193.7V713.874h57.678v120.382h528.497V718.818h57.678zM251.377 352.973h-57.678V129.758h457.14l186.713 186.218v36.997h-57.678v-13.101l-152.93-152.436H251.377zM830.96 352.643H627.028v-211.35z");
        public Geometry Icon_TXT
        {
            get { return _icon_TXT;}
            set { _icon_TXT = value; }
        }

        private Geometry _icon_PDF=Geometry.Parse("M366.2 550.9c-21.7 0-39.1 2.1-49.9 4.3v167.2h36.9v-60h13c21.7 0 39-6.4 52-17.1 8.7-8.6 15.2-23.6 15.2-40.7s-6.5-30-17.4-38.6c-10.7-10.8-25.9-15.1-49.8-15.1z m0 81.4h-13V583c2.2 0 8.7-2.1 15.2-2.1 17.4 0 28.2 8.6 28.2 25.7 0 15-10.9 25.7-30.4 25.7z m130.2-81.4c-17.4 0-36.9 2.1-49.9 4.3v167.2c8.7 2.2 21.7 2.2 41.2 2.2 32.5 0 56.4-6.4 73.8-21.4 15.2-12.9 26-36.4 26-68.6 0-30-10.9-51.4-28.2-64.3-13-13-32.6-19.4-62.9-19.4z m0 143.6h-13V583c2.2 0 8.7-2.1 17.4-2.1 30.4 0 49.9 19.3 49.9 53.6-0.1 40.7-21.8 60-54.3 60z m125.8 27.8h36.9v-68.6h58.6v-32.1h-58.6V583h60.7v-32.1h-97.6v171.4z m62.9-685.7H207.9c-47.7 0-86.8 38.6-86.8 85.7v771.5c0 47.1 39 85.7 86.8 85.7h607.4c47.7 0 86.8-38.6 86.8-85.7V272.3l-217-235.7z m173.5 857.2c0 23.6-19.5 42.9-43.4 42.9H207.9c-23.8 0-43.4-19.3-43.4-42.9V122.3c0-23.6 19.5-42.9 43.4-42.9h390.4v214.3c0 23.6 19.5 42.9 43.4 42.9h216.9v557.2zM641.7 293.7V79.4h21.7l195.2 214.3H641.7z");
        public Geometry Icon_PDF
        {
            get { return _icon_PDF;}
            set { _icon_PDF = value; }
        }

        private Geometry _icon_WARNING=Geometry.Parse("M704 64 960 320 704 320 704 64ZM657.749312 535.495104C649.102208 547.555584 630.158208 562.574208 606.264896 580.892416L579.982208 598.812416C565.532416 609.905792 556.828416 620.316416 553.585792 630.499584 550.912 638.634688 549.717312 640.739584 549.489792 657.123584L549.432896 661.333312 449.024 661.333312 449.365312 652.913792C450.56 618.496 451.470208 598.300416 465.92 581.518208 488.618688 555.235584 538.737792 523.377792 540.842688 522.069312 548.067584 516.721792 554.097792 510.691584 558.592 504.206208 569.173312 489.870208 573.781312 478.549312 573.781312 467.569792 573.781312 452.152896 569.173312 437.930688 560.014208 425.301312 551.196416 413.070208 534.471104 406.869312 510.293312 406.869312 486.343104 406.869312 469.902208 414.435584 460.060416 429.795584 449.934208 445.667584 444.871104 462.222208 444.871104 479.232L444.871104 483.441792 341.333312 483.441792 341.504 479.004416C344.177792 416.483584 366.819584 371.484416 408.803584 345.258688 435.086208 328.476416 467.911104 320 506.140416 320 556.202688 320 598.584896 332.003584 631.864896 355.669312 665.543104 379.619584 682.666688 415.516416 682.666688 462.392896 682.666688 488.618688 674.304 513.251584 657.749312 535.608896L657.749312 535.495104ZM512.227584 832 510.065792 832C477.297792 831.032896 454.200896 806.513792 455.111104 773.802688 456.078208 741.660416 479.687104 718.222208 511.374208 718.222208L513.308416 718.279104C546.986688 719.303104 569.856 743.537792 568.832 777.216 567.921792 809.472 544.654208 832 512.227584 832L512.227584 832ZM64 64 64 1024 960 1024 960 384 896 384 896 960 128 960 128 128 640 128 640 64 64 64Z");
        public Geometry Icon_WARNING
        {
            get { return _icon_WARNING;}
            set { _icon_WARNING = value; }
        }



        private Geometry _icon_FOLDER=Geometry.Parse("M1024 325.008v-72c0-35.344-28.656-64-64-64H448v-58c0-35.344-28.656-64-64-64H64c-35.344 0-64 28.656-64 64v194h1024zM0 373.008v520c0 35.344 28.656 64 64 64h896c35.344 0 64-28.656 64-64v-520H0z");
        public Geometry Icon_Folder
        {
            get { return _icon_FOLDER; }
            set
            {
                _icon_FOLDER = value;
            }
        }

        #endregion


    }
}
